package com.itheima.health.dao;

import com.itheima.health.pojo.OrderSetting;
import com.itheima.health.pojo.OrderSettingVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

@Mapper
public interface OrderSettingDao {
    List<OrderSetting> getOrderSettingByMouth(@Param("beginTime") LocalDate beginTime, @Param("endTime") LocalDate endTime);

    void editNumberByDate(@Param("orderSetting") OrderSetting orderSetting);

    int selectByDate(@Param("orderDate") Date orderDate);

    void AddByDate(@Param("orderSetting") OrderSetting orderSetting);
}
